Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODPart


UsedShapeChanged

The UsedShapeChanged method is called to notify this part that the used shape of one of its embedded frames has changed.

void UsedShapeChanged (in ODFrame embeddedFrame);
embeddedFrame
A reference to an embedded frame of this part.
DISCUSSION
OpenDoc calls this method when a frame embedded in this part changes its used shape. Containing parts that have wrapped their content to the contour of an embedded frame's used shape (as in text wrapping) need to adjust the layout of that content for the new used shape.

OVERRIDING
When you subclass ODPart, you can override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely. This method needs to be implemented only by container parts.

EXCEPTIONS
kODErrCannotEmbed
This part does not support embedding.
kODErrInvalidFrame
The specified frame is not an embedded frame of this part.
SEE ALSO
The ODFrame::ChangeUsedShape method (page 311).
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Used Shape" on page 146 in OpenDoc Programmer's Guide.
"Redrawing a Frame When It Changes" on page 161 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help